export default [
  //登录
  {
    path: "/",
    name: "login",
    component: () => import("../../views/Login/Login.vue"),
  },

  //登录路由
  {
    path: "/login",
    name: "login",
    component: () => import("../../views/Login/Login.vue"),
  },
  {
    // 入库审核-查看按钮页面      ✔
    path: "/medicine/process/view",
    name: "view",
    component: () => import("@/views/Medicine/Process/viewView.vue"),
  },
  {
    // 入库审核-查看按钮页面      ✔
    path: "/treat/patientEdit",
    name: "Aedit",
    component: () => import("@/views/Treat/patient/Aedit.vue"),
  },
  {
    // 入库审核-再次入库按钮页面     ✔
    path: "/medicine/process/warehousing",
    name: "warehousing",
    component: () => import("@/views/Medicine/Process/warehousingView.vue"),
  },
  {
    path: "/treat",
    name: "treat",
    component: () => import("@/views/Treat/CreateTreat.vue"),
  },

  {
    path: "/chargeDispensing",
    name: "chargeDispensing",
    component: () => import("@/views/ChargeDispensing/ChargeDispensing.vue"),
  },

  {
    path: "/medicine",
    name: "medicine",
    component: () => import("@/views/Medicine/Message.vue"),
  },
  {
    path: "/data",
    name: "data",
    component: () => import("@/views/Data/RevAndExp.vue"),
  },
  {
    path: "/setting",
    name: "setting",
    component: () => import("@/views/Setting/Doctor.vue"),
  },
  {
    path: "/treat/createTreat",
    name: "createTreat",
    component: () => import("@/views/Treat/CreateTreat.vue"),
  },
  {
    path: "/treat/treatList",
    name: "treatList",
    component: () => import("@/views/Treat/TreatList.vue"),
  },
  {
    path: "/treat/doctorScheduling",
    name: "doctorScheduling",
    component: () => import("@/views/Treat/DoctorScheduling.vue"),
  },
  {
    path: "/treat/registerTreat",
    name: "registerTreat",
    component: () => import("@/views/Treat/RegisterTreat.vue"),
  },
  {
    path: "/treat/registerList",
    name: "registerList",
    component: () => import("@/views/Treat/RegisterList.vue"),
  },
  {
    path: "/treat/patientList",
    name: "patientList",
    component: () => import("@/views/Treat/PatientList.vue"),
  },
  {
    path: "/setting/log",
    name: "log",
    component: () => import("@/views/Setting/Log.vue"),
  },
];
